package com.youlai.boot.modules.product.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.youlai.boot.modules.common.base.BfBaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.v3.oas.annotations.media.Schema;

@Data
@TableName("bf_product")
@EqualsAndHashCode(callSuper = true)
public class Product extends BfBaseEntity {
    private String name;
    private String coverPic;
    private String description;

    @Schema(description = "产品价格描述， 配合 bf_resource 表的 target_id 和 target_type 字段使用")
    private String priceDesc;

    @Schema(description = "产品标签")
    private String tags;

    @Schema(description = "排序")
    private Integer sort;

    @Schema(description = "状态")
    private Integer status;
    private Long merchantId;
    private Long brandId;
}
